<?php


namespace App\HttpController\Mp1;


use App\Bizs\Mp1\MessageBiz;
use Base\BaseController;

class Message extends BaseController
{
    /**
     * Apiname 获取我的消息
     *
     * @Param page {"type": "int", "default": 1, "desc": "第几页"}
     * @Param limit {"type": "int", "default": 20, "desc": "每页几个"}
     */
    public function getMyMessages()
    {
        $this->returnJson(
            (new MessageBiz())->getMyMessages($this->params, $this->uid)
        );
    }
}
